﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:ctrl="clr-namespace:BorderLess.Control;assembly=BorderlessControls"
                    xmlns:shell="clr-namespace:Microsoft.Windows.Shell;assembly=Microsoft.Windows.Shell"
                    xmlns:charting="clr-namespace:System.Windows.Controls.DataVisualization.Charting;assembly=System.Windows.Controls.DataVisualization.Toolkit"
                    xmlns:chartingprimitives="clr-namespace:System.Windows.Controls.DataVisualization.Charting.Primitives;assembly=System.Windows.Controls.DataVisualization.Toolkit"
                    xmlns:vsm="clr-namespace:System.Windows;assembly=WPFToolkit"
                    xmlns:Controls="clr-namespace:AC.AvalonControlsLibrary.Controls;assembly=AvalonControlsLibrary"
                    xmlns:local="clr-namespace:WPFSolution"
                    xmlns:localConverters="clr-namespace:WPFSolution.Converters">
    <LinearGradientBrush x:Key="RangeSliderThumbBrush" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFBEBEBE" Offset="0" />
        <GradientStop Color="White" Offset="1" />
        <GradientStop Color="#FFD1D1D1" Offset="0.443" />
        <GradientStop Color="#FFD4D4D4" Offset="1" />
        <GradientStop Color="#FFACACAC" Offset="1" />
    </LinearGradientBrush>

    <ControlTemplate TargetType="{x:Type Controls:RangeSlider}" x:Key="rangeSliderTemplate">
        <StackPanel Name="PART_RangeSliderContainer">
            <RepeatButton Name="PART_LeftEdge" Background="AliceBlue" Content="click me"/>
            <Thumb Name="PART_LeftThumb" Cursor="SizeWE"/>
            <!--This size of this thumb will auto matically change by the control to 10-->
            <Thumb Name="PART_MiddleThumb" Background="AntiqueWhite" Cursor="ScrollAll" MinWidth="10"/>
            <Thumb Name="PART_RightThumb" Cursor="SizeWE"/>
            <!--This size of this thumb will auto matically change by the control to 10-->
            <RepeatButton Name="PART_RightEdge" Background="AliceBlue" Content="click me"/>
        </StackPanel>
    </ControlTemplate>

    <ControlTemplate TargetType="{x:Type Controls:RangeSlider}" x:Key="MatrixDimentionSelector">
        <StackPanel Name="PART_RangeSliderContainer" Height="25">
            <RepeatButton Name="PART_LeftEdge" Height="7" Background="#FF1CC392" IsEnabled="True" Width="Auto" BorderBrush="{x:Null}" Padding="0" />
            <Thumb Name="PART_LeftThumb" Cursor="SizeWE" Background="{StaticResource RangeSliderThumbBrush}">
            </Thumb>
            <!--This size of this thumb will auto matically change by the control to 10-->
            <Thumb Name="PART_MiddleThumb" Height="7" Background="#FF1E86D8" IsEnabled="True" Width="Auto" BorderBrush="{x:Null}" Padding="0" MinWidth="0"/>
            <Thumb Name="PART_RightThumb" Cursor="SizeWE" Background="{StaticResource RangeSliderThumbBrush}"/>
            <!--This size of this thumb will auto matically change by the control to 10-->
            <RepeatButton Name="PART_RightEdge" Height="7" Background="#FF1CC392" IsEnabled="True" Width="Auto" BorderBrush="{x:Null}" Padding="0" />
        </StackPanel>
    </ControlTemplate>
</ResourceDictionary>